Optimal. Leaf size=26 \[ \frac {2 B \sin (c+d x)}{d \sqrt {a \cos (c+d x)+a}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.080, Rules used = {21, 2646} \[ \frac {2 B \sin (c+d x)}{d \sqrt {a \cos (c+d x)+a}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 2646
Rubi steps
\begin {align*} \int \frac {B+B \cos (c+d x)}{\sqrt {a+a \cos (c+d x)}} \, dx &=\frac {B \int \sqrt {a+a \cos (c+d x)} \, dx}{a}\\ &=\frac {2 B \sin (c+d x)}{d \sqrt {a+a \cos (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 33, normalized size = 1.27 \[ \frac {2 B \tan \left (\frac {1}{2} (c+d x)\right ) \sqrt {a (\cos (c+d x)+1)}}{a d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.97, size = 36, normalized size = 1.38 \[ \frac {2 \, \sqrt {a \cos \left (d x + c\right ) + a} B \sin \left (d x + c\right )}{a d \cos \left (d x + c\right ) + a d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.96, size = 35, normalized size = 1.35 \[ \frac {2 \, \sqrt {2} B \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )}{\sqrt {a \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + a} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.23, size = 43, normalized size = 1.65 \[ \frac {2 B \cos \left (\frac {d x}{2}+\frac {c}{2}\right ) \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {2}}{\sqrt {a \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.74, size = 37, normalized size = 1.42 \[ \frac {2\,B\,\sin \left (c+d\,x\right )\,\sqrt {a\,\left (\cos \left (c+d\,x\right )+1\right )}}{a\,d\,\left (\cos \left (c+d\,x\right )+1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ B \left (\int \frac {\cos {\left (c + d x \right )}}{\sqrt {a \cos {\left (c + d x \right )} + a}}\, dx + \int \frac {1}{\sqrt {a \cos {\left (c + d x \right )} + a}}\, dx\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________